/ BBS in a Box 7
/ BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / Q-R / REdExamples.cpt / Examples / CExamples / Instructions ![]() | < prev | next > |
MacBinary | 1988-08-01 | 2.3 KB | [TEXT/MPS ] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Mon Aug 1 12:00:00 1988, modified Mon Aug 1 12:00:00 1988, creator 'MPS ', type ASCII, 1660 bytes "Instructions" , at 0x6fc 510 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MPS ] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 49 6e 73 74 72 75 | 63 74 69 6f 6e 73 00 00 |..Instru|ctions..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 06 7c 00 | 00 01 fe 9f 1a 46 00 9f |......|.|.....F..|
|00000060| 1a 46 00 00 00 0c 00 00 | 00 00 00 00 00 00 00 00 |.F......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d2 b6 00 00 |........|........|
|00000080| 49 6e 73 74 72 75 63 74 | 69 6f 6e 73 20 2d 20 54 |Instruct|ions - T|
|00000090| 68 65 20 52 65 73 45 64 | 69 74 20 43 20 45 78 61 |he ResEd|it C Exa|
|000000a0| 6d 70 6c 65 0d 0d 43 6f | 70 79 72 69 67 68 74 20 |mple..Co|pyright |
|000000b0| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|000000c0| 49 6e 63 2e 20 31 39 38 | 38 0d 41 6c 6c 20 72 69 |Inc. 198|8.All ri|
|000000d0| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 0d 0d |ghts res|erved...|
|000000e0| 0d 41 62 6f 75 74 20 74 | 68 65 20 45 78 61 6d 70 |.About t|he Examp|
|000000f0| 6c 65 0d 0d 09 41 20 73 | 61 6d 70 6c 65 20 72 65 |le...A s|ample re|
|00000100| 73 6f 75 72 63 65 20 65 | 64 69 74 6f 72 20 69 73 |source e|ditor is|
|00000110| 20 69 6e 63 6c 75 64 65 | 64 20 77 69 74 68 20 52 | include|d with R|
|00000120| 65 73 45 64 69 74 2e 20 | 20 54 68 69 73 20 65 78 |esEdit. | This ex|
|00000130| 61 6d 70 6c 65 20 75 73 | 65 73 0d 09 74 68 65 20 |ample us|es..the |
|00000140| 4d 50 57 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2c |MPW envi|ronment,|
|00000150| 20 74 68 65 20 4d 50 57 | 20 43 20 63 6f 6d 70 69 | the MPW| C compi|
|00000160| 6c 65 72 20 61 6e 64 20 | 74 68 65 20 4d 50 57 20 |ler and |the MPW |
|00000170| 41 73 73 65 6d 62 6c 65 | 72 2e 0d 0d 09 54 68 65 |Assemble|r....The|
|00000180| 20 65 78 61 6d 70 6c 65 | 20 65 64 69 74 6f 72 20 | example| editor |
|00000190| 77 69 6c 6c 20 73 69 6d | 70 6c 65 20 64 69 73 70 |will sim|ple disp|
|000001a0| 6c 61 79 20 61 20 77 69 | 6e 64 6f 77 20 61 6e 64 |lay a wi|ndow and|
|000001b0| 20 69 6e 76 65 72 74 20 | 69 74 73 20 63 6f 6e 74 | invert |its cont|
|000001c0| 65 6e 74 73 2e 0d 09 53 | 69 6e 63 65 20 74 68 65 |ents...S|ince the|
|000001d0| 20 64 65 74 61 69 6c 73 | 20 6f 66 20 65 64 69 74 | details| of edit|
|000001e0| 69 6e 67 20 79 6f 75 72 | 20 72 65 73 6f 75 72 63 |ing your| resourc|
|000001f0| 65 20 61 72 65 20 6b 6e | 6f 77 6e 20 6f 6e 6c 79 |e are kn|own only|
|00000200| 20 74 6f 20 79 6f 75 2c | 69 73 20 75 70 20 0d 09 | to you,|is up ..|
|00000210| 74 6f 20 79 6f 75 20 74 | 6f 20 66 69 6c 6c 20 69 |to you t|o fill i|
|00000220| 6e 20 74 68 65 20 63 6f | 64 65 20 6e 65 63 65 73 |n the co|de neces|
|00000230| 73 61 72 79 20 74 6f 20 | 6d 61 6b 65 20 74 68 69 |sary to |make thi|
|00000240| 73 20 69 6e 74 6f 20 61 | 20 72 65 61 6c 20 65 64 |s into a| real ed|
|00000250| 69 74 6f 72 2e 0d 09 0d | 42 75 69 6c 64 69 6e 67 |itor....|Building|
|00000260| 20 74 68 65 20 45 78 61 | 6d 70 6c 65 0d 0d 09 59 | the Exa|mple...Y|
|00000270| 6f 75 20 63 61 6e 20 62 | 75 69 6c 64 20 74 68 65 |ou can b|uild the|
|00000280| 20 73 61 6d 70 6c 65 20 | 70 72 6f 67 72 61 6d 20 | sample |program |
|00000290| 75 73 69 6e 67 20 74 68 | 65 20 42 75 69 6c 64 20 |using th|e Build |
|000002a0| 73 63 72 69 70 74 20 70 | 72 6f 76 69 64 65 64 20 |script p|rovided |
|000002b0| 69 6e 20 74 68 65 0d 09 | 43 45 78 61 6d 70 6c 65 |in the..|CExample|
|000002c0| 73 20 66 6f 6c 64 65 72 | 20 0d 09 0d 09 54 68 65 |s folder| ....The|
|000002d0| 20 62 75 69 6c 64 20 73 | 63 72 69 70 74 20 61 73 | build s|cript as|
|000002e0| 73 75 6d 65 73 20 74 68 | 61 74 20 52 65 73 45 64 |sumes th|at ResEd|
|000002f0| 69 74 20 61 6e 64 20 74 | 68 65 20 45 78 61 6d 70 |it and t|he Examp|
|00000300| 6c 65 73 20 66 6f 6c 64 | 65 72 20 77 69 6c 6c 20 |les fold|er will |
|00000310| 62 65 20 66 6f 75 6e 64 | 20 0d 09 69 6e 20 74 68 |be found| ..in th|
|00000320| 65 20 64 69 72 65 63 74 | 6f 72 79 20 7b 62 6f 6f |e direct|ory {boo|
|00000330| 74 7d 52 65 73 45 64 69 | 74 3a 2e 20 20 49 66 20 |t}ResEdi|t:. If |
|00000340| 74 68 65 73 65 20 66 69 | 6c 65 73 20 61 72 65 20 |these fi|les are |
|00000350| 6c 6f 63 61 74 65 64 20 | 65 6c 73 65 77 68 65 72 |located |elsewher|
|00000360| 65 2c 20 74 68 65 0d 09 | 42 75 69 6c 64 20 73 63 |e, the..|Build sc|
|00000370| 72 69 70 74 20 66 69 6c | 65 20 73 68 6f 75 6c 64 |ript fil|e should|
|00000380| 20 62 65 20 6d 6f 64 69 | 66 69 65 64 20 61 63 63 | be modi|fied acc|
|00000390| 6f 72 64 69 6e 67 6c 79 | 2e 0d 09 0d 09 49 66 20 |ordingly|.....If |
|000003a0| 52 65 73 45 64 69 74 20 | 69 73 20 73 75 63 63 65 |ResEdit |is succe|
|000003b0| 73 73 66 75 6c 6c 79 20 | 6c 6f 63 61 74 65 64 2c |ssfully |located,|
|000003c0| 20 74 68 65 20 4d 61 6b | 65 46 69 6c 65 20 69 6e | the Mak|eFile in|
|000003d0| 73 74 72 75 63 74 69 6f | 6e 73 20 77 69 6c 6c 20 |structio|ns will |
|000003e0| 69 6e 73 74 61 6c 6c 0d | 09 74 68 65 20 52 65 73 |install.|.the Res|
|000003f0| 58 58 58 58 20 65 64 69 | 74 6f 72 20 64 69 72 65 |XXXX edi|tor dire|
|00000400| 63 74 6c 79 20 69 6e 74 | 6f 20 52 65 73 45 64 69 |ctly int|o ResEdi|
|00000410| 74 2e 20 20 54 68 65 20 | 6e 65 77 6c 79 20 69 6e |t. The |newly in|
|00000420| 73 74 61 6c 6c 65 64 20 | 65 64 69 74 6f 72 20 63 |stalled |editor c|
|00000430| 61 6e 0d 09 74 68 65 6e | 20 62 65 20 75 73 65 64 |an..then| be used|
|00000440| 20 6a 75 73 74 20 61 73 | 20 61 6e 79 20 6f 74 68 | just as| any oth|
|00000450| 65 72 20 52 65 73 45 64 | 69 74 20 65 64 69 74 6f |er ResEd|it edito|
|00000460| 72 20 77 6f 75 6c 64 20 | 62 65 20 75 73 65 64 2e |r would |be used.|
|00000470| 0d 09 0d 09 0d 46 69 6c | 65 73 20 69 6e 63 6c 75 |.....Fil|es inclu|
|00000480| 64 65 64 20 69 6e 20 74 | 68 65 20 43 45 78 61 6d |ded in t|he CExam|
|00000490| 70 6c 65 73 20 66 6f 6c | 64 65 72 0d 0d 0d 09 42 |ples fol|der....B|
|000004a0| 75 69 6c 64 0d 09 09 54 | 68 65 20 73 63 72 69 70 |uild...T|he scrip|
|000004b0| 74 20 66 69 6c 65 20 75 | 73 65 64 20 74 6f 20 69 |t file u|sed to i|
|000004c0| 6e 73 74 61 6c 6c 20 74 | 68 65 20 73 61 6d 70 6c |nstall t|he sampl|
|000004d0| 65 20 65 64 69 74 6f 72 | 20 69 6e 74 6f 20 52 65 |e editor| into Re|
|000004e0| 73 45 64 69 74 2e 0d 09 | 09 0d 09 4d 61 6b 65 46 |sEdit...|...MakeF|
|000004f0| 69 6c 65 0d 09 09 54 68 | 65 20 4d 61 6b 65 20 66 |ile...Th|e Make f|
|00000500| 69 6c 65 20 75 73 65 64 | 20 62 79 20 42 75 69 6c |ile used| by Buil|
|00000510| 64 2e 0d 09 09 0d 09 52 | 65 73 45 64 2e 68 0d 09 |d......R|esEd.h..|
|00000520| 09 54 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 66 |.The int|erface f|
|00000530| 69 6c 65 20 75 73 65 64 | 20 62 79 20 52 65 73 58 |ile used| by ResX|
|00000540| 58 58 58 45 64 2e 63 2e | 20 20 54 68 69 73 20 66 |XXXEd.c.| This f|
|00000550| 69 6c 65 20 70 72 6f 76 | 69 64 65 73 20 61 20 73 |ile prov|ides a s|
|00000560| 65 74 20 6f 66 20 72 6f | 75 74 69 6e 65 73 0d 09 |et of ro|utines..|
|00000570| 09 74 68 61 74 20 61 72 | 65 20 75 73 65 64 20 62 |.that ar|e used b|
|00000580| 79 20 74 68 65 20 65 64 | 69 74 6f 72 2e 20 20 54 |y the ed|itor. T|
|00000590| 68 65 73 65 20 72 6f 75 | 74 69 6e 65 73 20 61 72 |hese rou|tines ar|
|000005a0| 65 20 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 74 |e descri|bed in t|
|000005b0| 68 65 20 52 65 73 45 64 | 69 74 0d 09 09 6d 61 6e |he ResEd|it...man|
|000005c0| 75 61 6c 2e 0d 09 09 0d | 09 52 65 73 45 64 36 38 |ual.....|.ResEd68|
|000005d0| 4b 2e 61 0d 09 09 54 68 | 65 20 61 73 73 65 6d 62 |K.a...Th|e assemb|
|000005e0| 6c 79 20 6c 61 6e 67 75 | 61 67 65 20 69 6e 74 65 |ly langu|age inte|
|000005f0| 72 66 61 63 65 20 62 65 | 74 77 65 65 6e 20 74 68 |rface be|tween th|
|00000600| 65 20 65 64 69 74 6f 72 | 20 61 6e 64 20 74 68 65 |e editor| and the|
|00000610| 20 6d 61 69 6e 0d 09 09 | 52 65 73 45 64 69 74 20 | main...|ResEdit |
|00000620| 63 6f 64 65 2e 20 20 41 | 6c 6c 20 6f 66 20 74 68 |code. A|ll of th|
|00000630| 65 20 72 6f 75 74 69 6e | 65 73 20 70 72 6f 76 69 |e routin|es provi|
|00000640| 64 65 64 20 69 6e 20 74 | 68 65 20 52 65 73 45 64 |ded in t|he ResEd|
|00000650| 2e 68 20 69 6e 74 65 72 | 66 61 63 65 20 66 69 6c |.h inter|face fil|
|00000660| 65 0d 09 09 77 69 6c 6c | 20 62 65 20 66 6f 75 6e |e...will| be foun|
|00000670| 64 20 69 6e 20 74 68 69 | 73 20 6d 6f 64 75 6c 65 |d in thi|s module|
|00000680| 2e 0d 09 09 0d 09 52 65 | 73 58 58 58 58 45 64 2e |......Re|sXXXXEd.|
|00000690| 63 0d 09 09 54 68 65 20 | 6d 61 69 6e 20 63 6f 64 |c...The |main cod|
|000006a0| 65 20 66 6f 72 20 74 68 | 65 20 65 64 69 74 6f 72 |e for th|e editor|
|000006b0| 2e 20 20 54 68 69 73 20 | 69 73 20 74 68 65 20 6d |. This |is the m|
|000006c0| 6f 64 75 6c 65 20 74 68 | 61 74 20 73 68 6f 75 6c |odule th|at shoul|
|000006d0| 64 20 62 65 0d 09 09 6d | 6f 64 69 66 69 65 64 20 |d be...m|odified |
|000006e0| 74 6f 20 69 6d 70 6c 65 | 6d 65 6e 74 20 79 6f 75 |to imple|ment you|
|000006f0| 72 20 65 64 69 74 6f 72 | 2e 0d 0d 0d 00 00 00 00 |r editor|........|
|00000700| 00 00 01 00 00 00 01 c0 | 00 00 00 c0 00 00 00 3e |........|.......>|
|00000710| 7d 43 45 78 61 6d 70 6c | 65 73 22 09 23 20 66 6f |}CExampl|es".# fo|
|00000720| 72 20 48 44 2d 32 30 20 | 63 6f 6e 66 69 67 75 72 |r HD-20 |configur|
|00000730| 0c 49 6e 73 74 72 75 63 | 74 69 6f 6e 73 63 02 00 |.Instruc|tionsc..|
|00000740| 00 00 54 45 58 54 4d 50 | 53 20 01 0c 00 00 00 00 |..TEXTMP|S ......|
|00000750| 00 00 54 45 58 54 4d 50 | 53 20 01 0c 00 00 00 00 |..TEXTMP|S ......|
|00000760| 03 f6 65 64 00 00 00 00 | 00 00 00 00 00 00 00 00 |..ed....|........|
|00000770| 00 00 9f 1a 0d c0 00 00 | 06 7c 00 00 01 fe 23 20 |........|.|....# |
|00000780| 66 6f 72 20 38 30 30 4b | 20 64 69 73 6b 73 0d 0d |for 800K| disks..|
|00000790| 20 20 20 28 54 6f 20 65 | 78 65 63 75 74 65 20 74 | (To e|xecute t|
|000007a0| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 73 65 6c 65 63 |he comma|nd selec|
|000007b0| 74 20 69 74 20 61 6e 64 | 20 70 72 65 73 73 20 45 |t it and| press E|
|000007c0| 6e 74 65 72 2e 29 0d 0d | 0d 0d 53 61 6d 70 6c 65 |nter.)..|..Sample|
|000007d0| 20 2d 20 54 68 65 20 49 | 6e 73 69 64 65 20 4d 61 | - The I|nside Ma|
|000007e0| 63 69 6e 74 6f 73 68 20 | 53 61 6d 70 6c 65 20 41 |cintosh |Sample A|
|000007f0| 70 70 6c 69 63 61 74 69 | 6f 6e 0d 0d 0d 20 20 20 |pplicati|on... |
|00000800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 7d 7d |...H..Mo|naco..}}|
|00000810| 7d 7d 7d 7d 7d 7d 7d 7d | 7d 7d 7d 7d 7d 7d 7d 7d |}}}}}}}}|}}}}}}}}|
|00000820| 7d 7d 7d 7d 7d 7d 00 06 | 00 03 00 31 00 0a 01 49 |}}}}}}..|...1...I|
|00000830| 01 ea 00 31 00 0a 01 49 | 01 ea 9e 82 74 78 00 00 |...1...I|....tx..|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 70 |........|.......p|
|00000850| 00 04 00 00 00 61 00 00 | 00 72 13 41 62 6f 75 74 |.....a..|.r.About|
|00000860| 20 74 68 65 20 45 78 61 | 6d 70 6c 65 73 00 00 00 | the Exa|mples...|
|00000870| 01 d8 00 00 01 ec 15 42 | 75 69 6c 64 69 6e 67 20 |.......B|uilding |
|00000880| 74 68 65 20 45 78 61 6d | 70 6c 65 73 00 00 06 7c |the Exam|ples...||
|00000890| 00 00 06 7c 09 54 65 73 | 74 50 65 72 66 00 00 00 |...|.Tes|tPerf...|
|000008a0| 06 7c 00 00 06 7c 19 57 | 72 69 74 69 6e 67 20 59 |.|...|.W|riting Y|
|000008b0| 6f 75 72 20 4f 77 6e 20 | 50 72 6f 67 72 61 6d 73 |our Own |Programs|
|000008c0| 00 00 01 00 00 00 01 c0 | 00 00 00 c0 00 00 00 3e |........|.......>|
|000008d0| 00 27 cc 60 0a a8 00 00 | 00 1c 00 3e 00 00 4d 50 |.'.`....|...>..MP|
|000008e0| 53 52 00 01 00 0a 03 ed | ff ff 00 00 00 00 00 00 |SR......|........|
|000008f0| 00 00 03 ef ff ff 00 00 | 00 4c 00 28 ee f0 00 00 |........|.L.(....|
+--------+-------------------------+-------------------------+--------+--------+